package com.luck.emp.entity;

import java.util.Date;

import com.luck.org.entity.VUser;
import com.luck.pf.util.DateUtil;
import com.luck.pf.util.FormateUtil;

/**
 * 说明:ENEITY类 Copyright: Copyright (c) 2011 深圳**科技
 * 
 * @author
 * 
 */
public class EmpTWhOrderD implements java.io.Serializable {
	/**
	 * pk 主键序列
	 **/
	Long id;
	/**
	 * 订单编码
	 **/
	String orderCode;
	/**
	 * 商品编码
	 **/
	String productCode;
	EmpTProdBase product;
	/**
	 * 单件商品价值
	 **/
	Double whCost;
	/**
	 * 订单数量
	 **/
	Long qty;
	/**
	 * 过程数量： 对于入库单：已验货数量 对于出库单：已拣货数量
	 **/
	String procQty;
	/**
	 * 已确认数量： 对以入库单：已上架数量 对于出库单：已发货数量
	 **/
	Long confirmQty;
	/**
	 * 修改人
	 **/
	private VUser modiUser;
	/**
	 * 修改时间
	 **/
	Date modiDate;

	public EmpTWhOrderD() {
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOrderCode() {
		return this.orderCode;
	}

	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}

	public String getProductCode() {
		return this.productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public Double getWhCost() {
		return this.whCost;
	}

	public void setWhCost(Double whCost) {
		this.whCost = whCost;
	}

	public Long getQty() {
		return this.qty;
	}

	public void setQty(Long qty) {
		this.qty = qty;
	}

	public String getProcQty() {
		return this.procQty;
	}

	public void setProcQty(String procQty) {
		this.procQty = procQty;
	}

	public Long getConfirmQty() {
		return this.confirmQty;
	}

	public void setConfirmQty(Long confirmQty) {
		this.confirmQty = confirmQty;
	}

	public EmpTProdBase getProduct() {
		return product;
	}

	public void setProduct(EmpTProdBase product) {
		this.product = product;
	}

	public VUser getModiUser() {
		return modiUser;
	}

	public void setModiUser(VUser modiUser) {
		this.modiUser = modiUser;
	}

	public Date getModiDate() {
		return this.modiDate;
	}

	public void setModiDate(Date modiDate) {
		this.modiDate = modiDate;
	}

	public String getWhCostStr() {
		return FormateUtil.getInstance().formateDouble(this.whCost);
	}

	public String getModiDateStr() {
		return DateUtil.dateToString(this.modiDate, DateUtil.patternA);
	}

}